package com.ruoyi.ring.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 身体状况布局对象 az_ring_physical_condition_layout
 * 
 * @author liuwp
 * @date 2025-10-09
 */
@Data
public class RingPhysicalConditionLayout extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 设备sn */
    @Excel(name = "设备sn")
    private String deviceSn;

    /** 模块名称 */
    @Excel(name = "模块名称")
    private String moduleName;

    /** 是否显示（是：0 / 否：1） */
    @Excel(name = "是否显示", readConverterExp = "是=：0,/=,否=：1")
    private String moduleDisplay;

    /** 模块logo */
    @Excel(name = "模块logo")
    private String moduleLogo;

    /** 模块标识（根据模块自定义） */
    @Excel(name = "模块标识", readConverterExp = "根=据模块自定义")
    private String moduleSign;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("deviceSn", getDeviceSn())
            .append("moduleName", getModuleName())
            .append("moduleDisplay", getModuleDisplay())
            .append("moduleLogo", getModuleLogo())
            .append("moduleSign", getModuleSign())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
